package com.qianfeng.shopping.dao;

import com.qianfeng.shopping.entity.Account;

public class DiscountImp1 implements  Discount{
    @Override
    public double discountMoney(double totoalMoney, Account account) {
        return   totoalMoney*account.getLevel().getDiscount();
    }
}
